﻿using SqlSugar;

#nullable disable

namespace MyCompany.MyProject.Model.Models.RootKey;

/// <summary>
/// 主键
/// </summary>
/// <typeparam name="TKey"></typeparam>
public class RootEntityTKey<TKey> where TKey : IEquatable<TKey>
{
    /// <summary>
    /// ID 泛型主键 TKey
    /// </summary>
    [SugarColumn(IsNullable = false, IsPrimaryKey = true)]
    public TKey Id { get; set; }
}
